package org.example.spring;

import org.springframework.context.ApplicationEvent;

/**
 * User: ZhangJuntao
 * Date: 13-10-29
 * Time: 上午11:09
 */
public class MessageEvent extends ApplicationEvent {
  private static final long serialVersionUID = 1L;
  private String message;

  public void setMessage(String message) {
    this.message = message;
  }

  public String getMessage() {
    return message;
  }

  public MessageEvent(Object source, String message) {
    super(source);
    this.message = message;
  }
}
